package mat;




public class DummyProgressMonitor implements IProgressMonitor
{
	public DummyProgressMonitor()
	{
	}
	
	protected int totalForCurrentTask;
	@Override
	public void beginTask(String taskName, int arg1)
	{
		totalForCurrentTask = arg1;
	}

	@Override
	public void done()
	{
	}

	@Override
	public void internalWorked(double arg0)
	{
		
	}

	@Override
	public boolean isCanceled()
	{
		return false;
	}

	@Override
	public void setCanceled(boolean arg0)
	{
	}

	@Override
	public void setTaskName(String taskName)
	{
	}

	@Override
	public void subTask(String arg0)
	{
	}

	protected int _worked;
	
	@Override
	public void worked(int arg0)
	{
		_worked += arg0;
	}

	public int getTotalForCurrentTask()
	{
		return totalForCurrentTask;
	}

	public int getWorked()
	{
		return _worked;
	}

	
	
}


